package com.didi.gulimall.order.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.didi.gulimall.common.entity.LocalMqEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 发送消息日志
 * 
 * @author didi
 * @email 1062664904@qq.com
 * @date 2021-06-03 21:34:13
 */
@Mapper
public interface LocalMqDao extends BaseMapper<LocalMqEntity> {

    void updateMqStatus(@Param("messageId") String messageId, @Param("status") Integer status);

    void updateMqStatusReg(@Param("messageId") String messageId, @Param("retries") Integer retries);
}
